<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2020/12/18
 * Time: 14:44
 */

namespace app\common\service;


use think\Db;

class ServerProxy
{
    /**
     * @name 查询所有代理数据
     * @author wx
     * @date 2020/12/18 14:45
     */
    public function findProxyData()
    {
        return Db::name('server_proxy')
            ->where('type','<>','php')
            ->where('type','<>','mysql')
            ->field('ip, port')
            ->select();
    }
}